import request from '@/utils/request'
/**
 * 查询-分页查询安灯设置主数据
 * @param getPush
 */
export function findById(data) {
  return request({
    url: `/andon/andon/findById`,
    method: 'get',
    params: data
  })
}

export function save(data) {
  return request({
    url: `/andon/andon/save`,
    method: 'put',
    data
  })
}

export function list(data) {
  return request({
    url: `/andon/andon/list`,
    method: 'post',
    data: data
  })
}

export function delet(data) {
  return request({
    url: `/andon/andon/delete`,
    method: 'delete',
    data: data
  })
}
